﻿Public Class GiaoVienBUS
    Public Shared Function SelectAll() As List(Of GiaoVienDTO)
        Return GiaoVienDAO.SelectAll()
    End Function
    Public Shared Function Them(ByVal gv As GiaoVienDTO) As Integer
        Return GiaoVienDAO.Them(gv)
    End Function
    Public Shared Function LayDSGiaoVien() As List(Of GiaoVienDTO)
        Return GiaoVienDAO.LayDSGiaoVien()
    End Function
    Public Shared Function SuaGiaoVien(ByVal gv As GiaoVienDTO) As Integer
        Return GiaoVienDAO.SuaGiaoVien(gv)
    End Function
    Public Shared Function XoaGiaoVien(ByVal gv As GiaoVienDTO) As Integer
        Return GiaoVienDAO.XoaGiaoVien(gv)
    End Function
    Public Shared Function SelectByMaMon(ByVal MaMon As Integer) As List(Of GiaoVienDTO)
        Return GiaoVienDAO.SelectByMaMon(MaMon)
    End Function
End Class
